package com.xl.baseMethod;

import lombok.extern.slf4j.Slf4j;

/**
 * JdkVersion: 1.8
 * Author: lei·xie
 * Created: 2024/8/5 0002 10:22
 * Description: 基本方法 CPU占用率
 */
@Slf4j(topic = "b.Test5")
public class ThreadDemo05 {
    public static void main(String[] args) {
        new Thread(()->{
            while (true) {
                /*try {
                    Thread.sleep(50);
                } catch (InterruptedException e) {
                    throw new RuntimeException(e);
                }*/
                System.out.println("xx");
            }
        }).start();
    }
}
